const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: true,
  devServer:{

    proxy:{
      '/api':{
        // 目标对象 
        target: ' https://m.you.163.com',
        // 替换路径 
        pathRewrite:{'^/api':''}
      },
      //注册号登录号
      '/myApi':{
        // 目标对象 
        target: 'http://114.115.137.34:3000',
        // 替换路径 
        pathRewrite:{'^/myApi':''}
      },
     
    }
  }

})
